<?php

echo mktime();

$a= Getdate(mktime());

var_dump($a);

?>

<table width="400" border="1">
  <tr>
    <td>Localtime()</td>
<td>Localtime(time(), 1)</td>
  </tr>
<tr>
    <td valign="top">
      <pre><? print_r(localtime()); ?></pre>
    </td>
<td valign="top">
      <pre><? print_r(localtime(time(),true)); ?></pre>
    </td>
  </tr>
</table>